package mn.more.wits.client.gui;

import com.google.gwt.user.client.ui.*;
import mn.more.wits.client.AppMsg;

/**
 * @author $Author: mikeliucc $
 * @version $Revision: 119 $
 */
public class Headmast extends VerticalPanel {

	private Label lblTitle = new Label(AppMsg.Self.get().headmastTitle());
	private Label lblSubTitle = new Label(AppMsg.Self.get().headmastTitle2());

	public Headmast() {
		setStyleName("headmast");
		setBorderWidth(0);

		lblTitle.setStyleName("headmast-title");
		lblSubTitle.setStyleName("headmast-subtitle");
		add(lblTitle);
		add(lblSubTitle);

		setCellHorizontalAlignment(lblTitle, ALIGN_RIGHT);
		setCellHorizontalAlignment(lblSubTitle, ALIGN_RIGHT);
		setCellVerticalAlignment(lblTitle, ALIGN_BOTTOM);
		setCellVerticalAlignment(lblSubTitle, ALIGN_BOTTOM);

	}
}
